3.347 \(\int \frac {x^{-1+n} \log (-\frac {e x^n}{d})}{d+e x^n} \, dx\)

Optimal. Leaf size=20 \[ -\frac {\text {Li}_2\left (\frac {e x^n}{d}+1\right )}{e n} \]

[Out]

-polylog(2,1+e*x^n/d)/e/n

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {2336, 2315} \[ -\frac {\text {PolyLog}\left (2,\frac {e x^n}{d}+1\right )}{e n} \]

Antiderivative was successfully verified.

[In]

Int[(x^(-1 + n)*Log[-((e*x^n)/d)])/(d + e*x^n),x]

[Out]

-(PolyLog[2, 1 + (e*x^n)/d]/(e*n))

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rule 2336

Int[((a_.) + Log[(c_.)*(x_)^(n_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_))^(q_.), x_Symbol] :>
 Dist[f^m/n, Subst[Int[(d + e*x)^q*(a + b*Log[c*x])^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, f, m, n, q, r}
, x] && EqQ[m, r - 1] && IGtQ[p, 0] && (IntegerQ[m] || GtQ[f, 0]) && EqQ[r, n]

Rubi steps

\begin {align*} \int \frac {x^{-1+n} \log \left (-\frac {e x^n}{d}\right )}{d+e x^n} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right )}{d+e x} \, dx,x,x^n\right )}{n}\\ &=-\frac {\text {Li}_2\left (1+\frac {e x^n}{d}\right )}{e n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 1.05 \[ -\frac {\text {Li}_2\left (\frac {e x^n+d}{d}\right )}{e n} \]

Antiderivative was successfully verified.

[In]

Integrate[(x^(-1 + n)*Log[-((e*x^n)/d)])/(d + e*x^n),x]

[Out]

-(PolyLog[2, (d + e*x^n)/d]/(e*n))

________________________________________________________________________________________

fricas [B]  time = 0.42, size = 55, normalized size = 2.75 \[ \frac {n \log \relax (x) \log \left (\frac {e x^{n} + d}{d}\right ) + \log \left (e x^{n} + d\right ) \log \left (-\frac {e}{d}\right ) + {\rm Li}_2\left (-\frac {e x^{n} + d}{d} + 1\right )}{e n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n)*log(-e*x^n/d)/(d+e*x^n),x, algorithm="fricas")

[Out]

(n*log(x)*log((e*x^n + d)/d) + log(e*x^n + d)*log(-e/d) + dilog(-(e*x^n + d)/d + 1))/(e*n)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x^{n - 1} \log \left (-\frac {e x^{n}}{d}\right )}{e x^{n} + d}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n)*log(-e*x^n/d)/(d+e*x^n),x, algorithm="giac")

[Out]

integrate(x^(n - 1)*log(-e*x^n/d)/(e*x^n + d), x)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 19, normalized size = 0.95 \[ -\frac {\dilog \left (-\frac {e \,x^{n}}{d}\right )}{e n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(n-1)*ln(-e*x^n/d)/(d+e*x^n),x)

[Out]

-1/n/e*dilog(-e*x^n/d)

________________________________________________________________________________________

maxima [B]  time = 1.67, size = 64, normalized size = 3.20 \[ -\frac {{\left (\log \relax (d) - \log \relax (e)\right )} \log \left (\frac {e x^{n} + d}{e}\right )}{e n} + \frac {\log \left (\frac {e x^{n}}{d} + 1\right ) \log \left (-x^{n}\right ) + {\rm Li}_2\left (-\frac {e x^{n}}{d}\right )}{e n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+n)*log(-e*x^n/d)/(d+e*x^n),x, algorithm="maxima")

[Out]

-(log(d) - log(e))*log((e*x^n + d)/e)/(e*n) + (log(e*x^n/d + 1)*log(-x^n) + dilog(-e*x^n/d))/(e*n)

________________________________________________________________________________________

mupad [B]  time = 3.53, size = 18, normalized size = 0.90 \[ -\frac {{\mathrm {Li}}_{\mathrm {2}}\left (-\frac {e\,x^n}{d}\right )}{e\,n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^(n - 1)*log(-(e*x^n)/d))/(d + e*x^n),x)

[Out]

-dilog(-(e*x^n)/d)/(e*n)

________________________________________________________________________________________

sympy [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+n)*ln(-e*x**n/d)/(d+e*x**n),x)

[Out]

Exception raised: TypeError

________________________________________________________________________________________